import Vue from 'vue'
import VueRouter from 'vue-router'
import FileManage from '../components/FileManage'
import Discovery from '../components/Discovery'
import FileFiling from '../components/FileFiling'
import OnePieceFiling from '../components/OnePieceFiling'
import Display from '../components/Display'

Vue.use(VueRouter);

export default new VueRouter({
  routes: [
    {
      path: '/filemanage',
      name: 'FileManage',
      component: FileManage
    },
    {
      path: '/discovery',
      name: 'Discovery',
      component: Discovery
    },
    {
      path: '/filefiling',
      name: 'FileFiling',
      component: FileFiling
    },
    {
      path: '/onepiecefiling',
      name: 'OnePieceFiling',
      component: OnePieceFiling
    },
    {
      path: '/display',
      name: 'Display',
      component: Display
    },
    
    {
      path:"/",
      redirect:"/filemanage"
    }
  ]
})
